# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         02
# Description:
# Author:       dell
# Date:         2019/4/7
#-------------------------------------------------------------------------------
import re
s= '\d{4}-\d{4}-\d{4}-\d{4}'
m = '1234-1234-1234-1243'
a = re.search(s,m)
if a is not None:
    print('{}匹配成功'.format(a.group()))
else:
    print('{}匹配不成功'.format(m))
